﻿@using Transport.Infrastructure
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link rel="shortcut icon" href="@Href("~/favicon.ico")" type="image/x-icon">
    <script src="@Url.Content("~/Scripts/js/libs/jquery-1.6.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
@{
    @Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group
            .Add("~/Areas/Administrator/Content/Styles.css")
            .Add("~/Content/themes/cupertino/jquery-ui-1.8.21.custom.css")
            .Add("telerik.common.css")
            .Add("telerik.vista.css")
            .Add("~/Content/jquery.multiselect.css")
            .Combined(false)
            .Compress(false));

    Html.Telerik().ScriptRegistrar().DefaultGroup(group => group
        .Add("~/Scripts/jquery.validate.js")
        .Add("~/Scripts/jquery.validate.unobtrusive.js")
        .Add("~/Scripts/Views/Shared/Helpers.js")
        .Add("~/Scripts/jquery.multiselect.min.js")
        .Add("~/Scripts/Views/Shared/Search.js")
        .Add("telerik.common.js")
        .Add("telerik.list.js")
        .Add("telerik.combobox.js")
        .Add("telerik.draganddrop.js")
        .Add("telerik.tabstrip.js")
        .Add("telerik.window.js")
        .Add("telerik.editor.js")
        .Add("telerik.upload.js")
    );  
}
<body>
    <div class="master-wrapper-page">
        <div class="master-wrapper-content">
            <div class="header">
                <div style="font-size:40px;padding:5px; font-family:Times New Roman;color:#fff;">
                   Trang quản trị - @WorkContext.MyOfficeName
                </div>
                <div class="languageselector">
                </div>
                <div class="links">
                    @Html.ActionLink("Trang chủ", "index", "home", new { area = "" }, new { @target = "_blank" })
                </div>
                <div class="login-info">
                    Xin chào : @User.Identity.Name
                    | @Html.ActionLink("Thay đổi mật khẩu", "ChangePassword", "User", new { area = "Administrator", id = WorkContext.CurrentUserId }, new { })
                    | @Html.ActionLink("Đănng xuất", "logoff", "account", new { area = "" }, new { })
                </div>
                <div class="version">
                    <span>James Ltd.co</span>
                </div>
            </div>
            <div class="clear">
            </div>
            <div class="header-menu">
                @Html.Partial("_Menu")
            </div>
            <div class="status-bar">
                <div class="help">
                    @DateTime.Now.ToString("dd MMMM yyyy",
                     System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"))
                </div>
                <div class="breadcrumb">
                    <!-- SiteMapPath here-->
                </div>
            </div>
            <div class="clear">
            </div>
            <div class="content">
                <!-- dttuan Add for view Notify -->
                @Html.Partial("_Notifications")
                <div class="cph">
                    @RenderBody()
                </div>
            </div>
        </div>
    </div>
    <!--These need to be at the end of the page to ensure that all the controls requiring scripts have been rendered-->
    @*@(MvcHtmlString.Create(HttpUtility.HtmlDecode(Html.Telerik().ScriptRegistrar()
        .jQuery(false).ToHtmlString())))*@
@(MvcHtmlString.Create(HttpUtility.HtmlDecode(Html.Telerik().ScriptRegistrar()
        .jQuery(false).ToHtmlString())))
</html>
